package cxg.cloud.mapper;

import cxg.cloud.entity.DeptPO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Administrator
 */
@Mapper
public interface DeptMapper {

    /**
     * Chaxun
     * @return
     */
    List<DeptPO> queryAll();

    /**
     * 单个查询
     * @param deptId
     * @return
     */
    DeptPO selectByDeptId(Integer deptId);
}
